package org.darkforest.model;

import org.darkforest.common.util.Page;

import java.util.List;

public class Speciality extends Page<Speciality> {
    private Integer specialityId;

    private String specialityName;

    private Integer specialityAreaId;

    private String specialityAreaName;

    private String specialityImage;

    private String specialityDescription;

    private String createTime;

    private Integer createrId;

    private String createName;

    private Integer sort;

    public Speciality(){}

    public Speciality(Integer specialityId) {
        this.specialityId = specialityId;
    }

    private List<SpecialityGoods> specialityGoodsList;

    public List<SpecialityGoods> getSpecialityGoodsList() {
        return specialityGoodsList;
    }

    public void setSpecialityGoodsList(List<SpecialityGoods> specialityGoodsList) {
        this.specialityGoodsList = specialityGoodsList;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getSpecialityId() {
        return specialityId;
    }

    public void setSpecialityId(Integer specialityId) {
        this.specialityId = specialityId;
    }

    public String getSpecialityName() {
        return specialityName;
    }

    public void setSpecialityName(String specialityName) {
        this.specialityName = specialityName == null ? null : specialityName.trim();
    }

    public Integer getSpecialityAreaId() {
        return specialityAreaId;
    }

    public void setSpecialityAreaId(Integer specialityAreaId) {
        this.specialityAreaId = specialityAreaId;
    }

    public String getSpecialityAreaName() {
        return specialityAreaName;
    }

    public void setSpecialityAreaName(String specialityAreaName) {
        this.specialityAreaName = specialityAreaName == null ? null : specialityAreaName.trim();
    }

    public String getSpecialityImage() {
        return specialityImage;
    }

    public void setSpecialityImage(String specialityImage) {
        this.specialityImage = specialityImage == null ? null : specialityImage.trim();
    }

    public String getSpecialityDescription() {
        return specialityDescription;
    }

    public void setSpecialityDescription(String specialityDescription) {
        this.specialityDescription = specialityDescription == null ? null : specialityDescription.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public Integer getCreaterId() {
        return createrId;
    }

    public void setCreaterId(Integer createrId) {
        this.createrId = createrId;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName == null ? null : createName.trim();
    }
}